<script type="text/javascript">
	$(function() {
	    $.fn.dataGridOptions.formSubFun("#form",'/modules/additional/commodity/doCommodityAdd.html',"添加成功！","添加失败！");
	});
</script>
<style>
.hide{display:none;}
.sForm .ipt{margin-left:155px;}
.sForm .ipt1{margin-bottom:20px;margin-left:155px;}
.sForm .lab{width:139px;}
</style>
<div class="popForm sForm">
    <form id="form"  method="post">
    	<div class="formitm">
		     <label class="lab">商品名称：</label>
		     <div class="ipt">
		     	<input type="text" name="name" class="w200 easyui-validatebox" data-options="required: true" value="" maxlength="20"/>
		     	<b>*</b>
		     </div>
		</div>
		<div class="formitm">
			<label class="lab">商品类别：</label>
			<div class="ipt">
				<select name="category" id="category" onchange="showPayType()">
					<option value="1">积分抽奖</option>
					<option value="2">签到抽奖</option>
					<option value="3">满审成功活动</option>
				</select>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">商品总数量：</label>
			<div class="ipt">
				<input type="text" name="totalNum" class="w200 easyui-validatebox" date-options="required: true" value="" maxlength="5">
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
		     <label class="lab">商品状态：</label>
		     <div class="ipt">
		     	<input type="radio" id="status" class="xj-hongbao" value="0" name="status" checked="checked">启用
		     	<input type="radio" id="status" class="xn-hongbao" value="1" name="status">禁用
		     </div>
		</div>
		<div class="formitm">
			<label class="lab">商品备注：</label>
			<div class="ipt">
				<textarea rows="3" maxlength="250" cols="50" name="remark"></textarea>
			</div>
		</div>
	</form>
</div>
